<div class="copyright">
    <div class="foot_menu">
        <div class="menu f_l">
            <ul>
                <li>
                    <p class="tit">关于艾克</p>
                    <?php if ($brand) : ?>
                        <?php foreach ($brand as $key => $val) : ?>
                            <p>
                                <a href="<?php echo "/service/" . $val['id'] . ".html"; ?>"><?php echo $val['title'] ?? ""; ?></a>
                            </p>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </li>
                <li>
                    <p class="tit">墙布系列</p>
                    <?php if ($category) : ?>
                        <?php foreach ($category as $key => $val) : ?>
                            <p>
                                <a href="<?php echo "/product/" . $val['id'] . ".html"; ?>"><?php echo $val['category_name'] ?? ""; ?></a>
                            </p>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </li>
                <li>
                    <p class="tit">艾克服务</p>
                    <?php if ($service) : ?>
                        <?php foreach ($service as $key => $val) : ?>
                            <p>
                                <a href="<?php echo "/service/" . $val['id'] . ".html"; ?>"><?php echo $val['title'] ?? ""; ?></a>
                            </p>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </li>
                <li>
                    <p class="tit">德国艾克在线</p>
                    <?php if ($onlinecategory) : ?>
                        <?php foreach ($onlinecategory as $key => $val) : ?>
                            <p>
                                <a href="<?php echo "/aike/" . $val['id'] . ".html"; ?>"><?php echo $val['category_name'] ?? ""; ?></a>
                            </p>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </li>
                <li>
                    <p class="tit">加盟艾克</p>
                    <?php if ($join) : ?>
                        <?php foreach ($join as $key => $val) : ?>
                            <p>
                                <a href="<?php echo "/service/" . $val['id'] . ".html"; ?>"><?php echo $val['title'] ?? ""; ?></a>
                            </p>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </li>
            </ul>
        </div>
        <div class="content f_r">
            <p class="tit">联系我们</p>
            <p>加盟电话：<?php echo $this->config->item('telephone'); ?></p>
            <p>客服电话：<?php echo $this->config->item('contact'); ?></p>
            <p>公司EMAIL：<?php echo $this->config->item('mail'); ?></p>
            <p>地址：<?php echo $this->config->item('address'); ?></p>
        </div>
    </div>
    <div class="copy">
        <p>绍兴骏远装饰材料有限公司 &copy; 版权所有</p>
        <p>地址：<?php echo $this->config->item('address'); ?> 联系电话：<?php echo $this->config->item('telephone'); ?></p>
    </div>
</div>
<script>
    $('.hiSlider1').hiSlider();
    $('.hiSlider2').hiSlider({
        isFlexible: true,
        mode: 'fade',
        isSupportTouch: false,
        isShowTitle: false,
        isShowPage: false,
        titleAttr: function (curIdx) {
            return $('img', this).attr('alt');
        }
    });
    $('.hiSlider3').hiSlider({
        isFlexible: true,
        isSupportTouch: true,
        titleAttr: function (curIdx) {
            return $('img', this).attr('alt');
        }
    });
    $('.hiSlider4').hiSlider({
        startSlide: 1,
        direction: 'top'
    });
    $("#phone_nav").click(function () {
        $(".phone_lis").toggle();
    });

    // 移到主菜单
    $(".tit").mouseover(function () {
        event.stopPropagation();
        $(this).next().show();
    });
    // 移到子菜单
    $(".sub_menu").mouseover(function () {
        event.stopPropagation();
        $(this).show();
    });
    // 移出主菜单
    $(".tit").mouseout(function () {
        $(this).next().hide();
    });
    // 移出主菜单
    $(document).on('mouseout', ':not(.sub_menu)', function () {
        $(".sub_menu").hide();
    });

    $(".page_contact .phone_last select").change(function () {
        var url = $(this).val();
        window.location.href = url;
    });
</script>
<script>
    var video = document.getElementById('v1');
    video.playbackRate = 2;
</script>
<script>
    var mySwiper = new Swiper('.swiper-container', {
        autoplay: true, //可选选项，自动滑动
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
        autoplay: {
            delay: 4000,
            disableOnInteraction: false,
        },
    })
</script>
</body>
</html>